====== Exemple de fichier pacman.conf ======


**/etc/pacman.conf**

<php>
#
# /etc/pacman.conf
#
# NOTE: If you find a mirror that is geographically close to you, please
#       move it to the top of the server list, so pacman will choose it
#       first.
#
# To re-sort your mirror lists by ping/traceroute results, use the
# /usr/bin/sortmirrors.pl script.  It requires the "netselect" package.
#
#     # sortmirrors.pl </etc/pacman.conf >pacman.conf.new
#
 
# See the pacman manpage for option directives
 
#
# GENERAL OPTIONS
#
[options]
LogFile     = /var/log/pacman.log
NoUpgrade   = etc/passwd etc/group etc/shadow etc/sudoers
NoUpgrade   = etc/fstab etc/raidtab etc/ld.so.conf
NoUpgrade   = etc/rc.conf etc/rc.local etc/hosts etc/resolv.conf
NoUpgrade   = etc/modprobe.conf etc/modules.conf
NoUpgrade   = etc/lilo.conf boot/grub/menu.lst
NoUpgrade   = etc/archstats/archstats.conf
NoUpgrade   = etc/ssh/ssh_config etc/ssh/sshd_config etc/pam.d/sshd
NoUpgrade   = var/abs/local/
HoldPkg     = pacman 
Include = /etc/pacman.d/ignorelist
 
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/snarf -N %u
 
#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here.
#   - local/custom mirrors can be added here or in separate files
# 
 
[archlinuxfr]
Server = http://repo.archlinux.fr/i686
 
#[testing]
#Server = ftp://ftp.archlinux.org/testing/os/i686
 
[current]
Include = /etc/pacman.d/current
# Add your preferred servers here, they will be used first
#Server = http://archlinux.antesis.org/current
 
[extra]
Include = /etc/pacman.d/extra
# Add your preferred servers here, they will be used first
#Server = http://archlinux.antesis.org/extra
#Include = /etc/pacman.d/unstable
# Start Trusted User Repositores
#TURs are being phased out, all packages from them should now be in the community repo, a part of the AUR.
 
[community]
Include = /etc/pacman.d/community
#Server = ftp://ftp.archlinux.org/community/os/i686/
 
# End Trusted User Repositories
 
# Repos alternatifs
Include = /etc/pacman.d/persos
</php>

**Fichier /etc/pacman.d/perso :**

<php>
[kde-mod] 
Server = http://funkyou.hinterhof-hosting.de/arch/kde-mod
 
[AqD]
Server = http://aquila.deus.googlepages.com/
 
[danimoth]
Server = http://jjdanimoth.altervista.org/arch/athlon-xp
 
[dma147]
Server = http://arch.linux-stats.org/pkgs
 
[Victor]
Server = http://personales.ya.com/vmromanos/arch/pkgs
 
[venox]
Server = http://arch.lworks.cjb.net/
 
[fubar]
Server = http://marcosaxo.madoka.be/files/arch
 
[brain0]
Server = http://www-users.rwth-aachen.de/thomas.baechler/arch/brain0/os/i686
 
[slubman]
Server = http://arch.slubman.dyndns.org/
Server = http://slubman.dyndns.org/arch
</php>

D’autres dépôts peuvent être trouvés ici: http://wiki.archlinux.org/index.php/Unofficial_user_repositories

**Fichier /etc/pacman.d/ignorelist :**

<php>
[options]
IgnorePkg   = kernel26
IgnorePkg   = nvidia
IgnorePkg   = qt
IgnorePkg   = udev 
IgnorePkg   = nvidia
IgnorePkg   = gtk
IgnorePkg   = gtk2
IgnorePkg   = xorg-server
IgnorePkg   = glibc
IgnorePkg   = initscripts
IgnorePkg   = initscripts-gensplash
IgnorePkg   = filesystem
IgnorePkg   = mkinitrd
IgnorePkg   = hal
IgnorePkg   = dbus
IgnorePkg   = conky
IgnorePkg   = openssh-chroot
IgnorePkg   = openssh
IgnorePkg   = reiser4progs
IgnorePkg   = libaal
IgnorePkg   = wine
IgnorePkg   = arts
IgnorePkg   = kde-common
IgnorePkg   = python
IgnorePkg   = libx11 
IgnorePkg   = xorg-apps
IgnorePkg   = xorg-xinit
IgnorePkg   = xtrans
IgnorePkg   = mkinitramfs
IgnorePkg   = xorg-server-utils
IgnorePkg   = gcc
IgnorePkg   = libxau 
IgnorePkg   = libxmu
IgnorePkg   = links-gfx
IgnorePkg   = libxt
IgnorePkg   = libgl-dri
IgnorePkg   = fontconfig
</php>
